home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / rpt2excl / helpme.txt next >
Text File  |  1998-06-11  |  2KB  |  52 lines

  1. Report2Excel
  2.  
  3. The Report2Excel ActiveX Control gives you the simple ability to output a recordset to an Excel Spreadsheet that is formatted in font and color to your specifications. Since this control does output the recordset to Excel 97, Excel 97 must be installed on  the developers and end-users' machines.
  4.  
  5. Report2Excel was developed and Copyrighted by Greg Buczek 1998. Do not distribute the license file with your applications. Address questions, comments, complaints to gbuczek@thuntek.net.
  6.  
  7. Calling the ReportExecute exports the data into Excel. It is helpful to surround this call with code that turns your mousepointer into an hourglass and then back.
  8.  
  9.  
  10.  
  11. Properties
  12.  
  13.  
  14.  
  15. ╖    (Name) - Name of the control as referred to in your code.
  16.  
  17. ╖    ColumnWidth - the width of the columns as they appear in the Excel spreadsheet.
  18.  
  19. ╖    DataBackColor - This is the background color of the Excel spreadsheet for the area where the data appears.
  20.  
  21. ╖    DatabaseName - A valid path to an Access database
  22.  
  23. ╖    DataFont - Font used for the data portion of the Excel spreadsheet.
  24.  
  25. ╖    DataForeColor - Text color for the data portion of the report.
  26.  
  27. ╖    FieldNamesForHeaders - Boolean indicating whether the field names from the recordset should be used as the column headings. Remember that you can use the "as" keyword in your SQL statement to give a field a different name if the name is not user friendly as in:
  28.        select [fname] as [First Name] from [emps];
  29.  
  30. ╖    HeaderBackColor - This is the background color of the Excel Spreadsheet for the area where the headers appear.
  31.  
  32. ╖    HeaderFont - Font used for the header portion of the Excel spreadsheet.
  33.  
  34. ╖    HeaderForeColor - Text color for the header portion of the report.
  35.  
  36. ╖    Index - Used to create an array of the control.
  37.  
  38. ╖    InnerBorder - Thickness of the border for the Inner portion of the spreadsheet.
  39.  
  40. ╖    OuterBorder - Thickness of the border for the Outer portion of the spreadsheet.
  41.  
  42. ╖    PageCaption - Title to appear on the tab portion of the Spreadsheet.
  43.  
  44. ╖    Recordset - A valid table name, query name or SQL statement for the database specified in the database name property.
  45.  
  46. Method
  47.  
  48.  
  49.  
  50. ╖    ReportExecute - Outputs recordset to Excel.
  51.  
  52.